<%@ page language="java" contentType="text/html; charset=UTF-8"    pageEncoding="UTF-8"%> 
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="css/layout1.css" type="text/css" media="screen" charset="utf-8" />
<script language="javascript" src="js/jquery-1.3.2.min.js"></script>
<script language="javascript" src="js/startstop-slider.js"></script>
<title>Insert title here</title>
<script type="text/javascript">
//	alert(${currentUser.positionSlider})

	function send() {			
		sendJQuery("action=updatePosition&task=pSimplePieChart&symbol=&position=3", "updatePieChart");
	}

	function sendMeOut() {
		$j.get("ajaxAction", {}, function (data) {
									alert("hello the world;");
								}, "HTML"
			 );
	}

	 function sendJQuery(data, callback) {			
			var func = window[callback];
     	$j.get("go.jnv", data,  	        
 	        	func,  	        	
 	        	"HTML"); 
	    }
	
	function updatePieChart(data){				
		//alert('hello come back');	
	}
</script>
</head>
<body>
	<div id = "main_wrapper">
		<div class = "content">
			<tiles:insertAttribute name="header" />
		</div>
		<tiles:insertAttribute name="body" />
		<tiles:insertAttribute name="footer" />
	</div>
</body>
</html>